package com.anytron.model.res;

import java.io.Serializable;

public class ResultData <T> implements Serializable {
	
	private static final long serialVersionUID = 61006831311363380L;
	private int errorCode;
	private String errorMsg;
	private T data;
	private boolean success;
	public int getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
	public String getErrorMsg() {
		return errorMsg;
	}
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	
}
